import type { CategoryList, CarouselList } from "./type";

/**
 * 获取首页三级分类列表
 */
export const getBaseCategoryList = () => {
  return request.get<CategoryList>("/product/getBaseCategoryList");
};

/**
 * 获取首页轮播图列表
 */
export const getCarouselList = () => {
  return requestMock.get<CarouselList>("/homeCarousel");
};
